FROM openjdk:8
VOLUME /tmp
ADD cas-client.jar app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-javaagent:/agent/skywalking-agent.jar","-Dskywalking.agent.service_name=cas-client","-Djava.security.egd=file:/dev/./urandom","-server", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap","-jar","/app.jar"]